package com.warmheart.service.sys;

import java.util.List;

import com.warmheart.base.service.IBaseService;
import com.warmheart.entity.sys.SysAreaBase;
import com.warmheart.model.AreaTreeModel;

/**
 * 
 * @ClassName: ISysAreaBaseService
 * @Description: 区域IService，对应表名称为tb_sys_area_base
 * 温馨提示：对外提供的接口，原则上这里只写自定义方法
 * @author ZhangJianyang
 * @date 2025-06-16 09:37:02
 *
 */
public interface ISysAreaBaseService extends IBaseService<SysAreaBase> {
    
    /**
     * 
     * @Title: getTreeModelList
     * @Description: 获取区域树形结构
     * @author ZhangJianyang
     * @param sysAreaBase
     * @return
     */
    public List<AreaTreeModel> getTreeModelList(SysAreaBase sysAreaBase);

    /**
     * 
     * @Title: getProvCodes
     * @Description: 获取省CODE
     * @author ZhangJianyang
     * @param cityCodes
     * @return
     */
    public List<String> getProvCodes(List<String> cityCodes);
}